Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.Text

Namespace C4F.DevKit.Telephony

	''' <summary>
	''' Represents a communication line.
	''' </summary>
	Public Class Line
		#Region "Internal Members"

		''' <summary>
		''' Name of the line.
		''' </summary>
		Friend lineName_Renamed As String

		''' <summary>
		''' Media types supported by the line.
		''' </summary>
		Friend supportedMediaTypes_Renamed As TapiMediaType

		''' <summary>
		''' Indicates whether DTMF is supported by the line.
		''' </summary>
		Friend isDtmfSupported_Renamed As Boolean

		''' <summary>
		''' Maximum number of calls that can be on hold. If 0 then call hold is not supported on the line.
		''' </summary>
		Friend maxCallsOnHold_Renamed As Integer

		#End Region

		#Region "Public Properties"

		''' <summary>
		''' Name of the line.
		''' </summary>
		Public ReadOnly Property LineName() As String

			Get
				Return Me.lineName_Renamed
			End Get

		End Property

		''' <summary>
		''' Media types supported by the line.
		''' </summary>
		Public ReadOnly Property SupportedMediaTypes() As TapiMediaType

			Get
				Return Me.supportedMediaTypes_Renamed
			End Get

		End Property

		''' <summary>
		''' Indicates whether DTMF is supported by the line.
		''' </summary>
		Public ReadOnly Property IsDtmfSupported() As Boolean

			Get
				Return Me.isDtmfSupported_Renamed
			End Get

		End Property
		''' <summary>
		''' Maximum number of calls that can be on hold. If 0 then call hold is not supported on the line.
		''' </summary>
		Public ReadOnly Property MaxCallsOnHold() As Integer

			Get
				Return Me.maxCallsOnHold_Renamed
			End Get

		End Property

		#End Region

	End Class

End Namespace
